package com.start_eternity.oasissafewalk.service;

import com.start_eternity.oasissafewalk.pojo.Order;
import com.start_eternity.oasissafewalk.pojo.PageBean;
import com.start_eternity.oasissafewalk.pojo.Station;
import com.start_eternity.oasissafewalk.pojo.dto.StationDTO;

import java.time.LocalDate;
import java.util.List;

public interface StationService {

    //List<Station> list();

    void add(Station station);

    void delete(Integer id);

    Station getById(Integer id);

    void update(Station station);

    PageBean page(Integer page, Integer pageSize, String stationName, Short stationStatus, LocalDate begin, LocalDate end);

    StationDTO getStationDTO(Order order);
}
